# num1=input('请输入一个数字：')
# num1=float(num1)
# num2=float(input('请输入一个数字：'))
# num =num1+num2
# num=round(num,2)
# print(f'{num1}+{num2}={num}',end='*_1*')
# print(num)
# age=int(input("请输入你的年龄："))
# if age>18:
#     print("满18周岁了，可以今日入网吧了")
# print("没有写在缩进中")
# name=input('请输入用户名：')
# if name=="admin":
#     print('admin登录成功')
# else:print('输入用户名错误')
# age=int(input('请输入你的年龄：'))
# if age>=18:
#     print('允许进网吧haipi')
# else: print("不允许嗨皮")
# print("嗨皮了吗")
# name=input("亲输入用户名：")
# password=input("请输入密码：")
# if name=='admin' and password=="123456":
#     print("登录成功")
# else:print("登录失败")
# import random
# while True:
#     player=int(input("玩家出拳石头（1）剪刀（2）布（3）："))
#     if player==0:
#         print("游戏结束！")
#         break
#     computer=random.randint(1,3)
#     if ((player==1 and computer==2) or
#             (player==2 and computer==3) or
#             (player==3 and computer==1)):
#         print("玩家胜利")
#     elif (player==1 and computer==1) or (player==2 and computer==2) or (player==3 and computer==3):
#         print("平局")
#     else:print("电脑胜利！")
# i=0
# while i<100:
#     print("什么时间阿金卡萨丁")
#     i+=1;
# my='i\\\'mjacj'
# print(my)
# my="hsahjksaj"
# for i in my:
#     print(i,end=" ")
# print()
# print("*"*100)
# i=0
# while i<len(my):
#     print(my[i],end=" ")
#     i+=1
# my='good good study'
# my=my.replace("good","best",2).replace("best","good",1)
# print(my)
# str="--".join(my)
# print(str)
# my_list=list()
# print(my_list,type(my_list))
# my_list1=list('love')
# print(my_list1,len(my_list1))
# my_list2=['小麦',18,1.81,True]
# print(my_list2,len(my_list2))
# for i in my_list2:
#     print(i)
# m1=[1,2,4,6,2,1]
# num=m1.count(1)
# print(m1.count(9))
# print(num)
# m1=[]
# print(m1)
# m1.append('jay')
# print(m1)
# m1.append('jj')
# print(m1)
# m1.append('xx')
# print(m1)
# m1.pop(1)
# print(m1)
# import random
# m1=[]
# for i in range(10):
#     num=random.randint(1,20)
#     m1.append(num)
#     print(m1)
# from random import randint

# m1=[2,3,4,2,2,3,5,6,8,9]
# print(m1)
# m2=m1[::-1]
# print(m2)
# print(m1)
# m1.reverse()
# print(m1)
# m1.sort()
# print(m1)
# m1.sort(reverse=True)
# # print(m1)
# data=[
# #     {'desc':'登录失败，用户名为空','username':'','password':'123456','verify_code':'8888',"expect":'用户名不能为空'},
# #     {'desc':'登录失败，密码错误','username':'admin','password':'1236','verify_code':'8888',"expect":'密码错误'},
# #     {'desc':'登录失败，验证码错误','username':'admin','password':'123456','verify_code':'888',"expect":'验证码错误'}
# # ]
# #
# # data1=[]
# # for i in data:
# #     print('用户名为：{}，密码为：{}，验证码为：{}，期望结果：{}'.format(i.get('username'),i.get('password'),i.get('verify_code'),i.get('desc')))
# #     aa=tuple(i.values())
# #     data1.append(aa)
# # print(data1)
# ml=[1,23,4,5,4,67,23,1,4,3,5,'1','q','a','1','a','1']
# m2=list(set(ml))
# print(m2)


# def Dazhaohu():
#     """打招呼的函数"""
#     print('sayhello')
#     print('sayhello')
#     print('sayhello')
#
# Dazhaohu()
# Dazhaohu()
# Dazhaohu()
# def he(a,b):
#
#     c=a+b
#     print('求和的结果为：',c)
#
#
# he(10,20)

#def c1():
#     print(1)
#     print('sjhsaj')
#     print(2)
#
#
# def c2():
#     print('*'*30)
#     print(3)
#     c1()
# c1()
# c2()

# def i_username():
#     return  input("请输入用户名：")
# def i_userpassword():
#     return  input("请输入密码：")
# def login():
#     if i_username()=='admin' and i_userpassword()=='123456':
#         print('登录成功')
#     else: print('登录失败')
# login()
# from random import randint
# print(randint(1, 10))
# def func(n):
#     i=n
#     while i<=99:
#         if i%7==0 or '7' in str(i):
#             print('过了')
#         else:print(i)
#         i+=1
# func(1)
# sl=[]
# sq=[
#     {'name':'张三','age':18},
#     {'name':'李四','age':19},
#     {'name':'王二','age':17}
# ]
# def make_student():
#     username=input('请输入用户名：')
#     age=int(input('请输入年龄：'))
#     stu_dict={'name':username,'age':age}
#     return stu_dict
# def show_info():
#     for i in sq:
#         print(f"i\t{i.get('name')}\t{i.get('age')}")
# if __name__ == '__main__':
#     print('-------学生信息列表--------')
#     # for i in range(3):
#     #     stu=make_student()
#     #     sl.append(stu)
#     # print(sl)
#     show_info()
# from s2 import set_password
# print("其他代码")
# set_password()
# print("其他代码")
def login(username,password):
    if username=='admin' and password=='123456':
        return '登录成功'
    else:return '登录失败'












